set visible of Card Field 1 to not the visible of Card Field 1
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=458 top=24 right=47 bottom=509
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Return
----- HyperTalk script -----
on mouseUp
Visual Effect zoom close
pop card
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=228 top=297 right=324 bottom=270
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part contents for background part 2
----- text -----
This stack is demonstrates the use of QuickDraw Regions as buttons. It uses an XCMD to create the buttons, test to see if they are hit, and remove them when you no longer need them.